package com.viking.car;

/**
 * 消息尾
 */
public class MessageFooter {
    private short CRC_CODE = 120;  //暂时固定值
    private short Package_Footer = Constants.PACKAGE_FOOTER;  //用于标识每个消息的结束

    public short getPackage_Footer() {
        return Package_Footer;
    }

    public void setPackage_Footer(short package_Footer) {
        Package_Footer = package_Footer;
    }

    public short getCRC_CODE() {
        return CRC_CODE;
    }

    public void setCRC_CODE(short CRC_CODE) {
        this.CRC_CODE = CRC_CODE;
    }

    @Override
    public String toString() {
        return "{" +
                "CRC_CODE=" + CRC_CODE +
                ", Package_Footer=" + Package_Footer +"(0xFF 0xFF)" +
                '}';
    }
}
